package com.wlb365.admin.modules.devops.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wlb365.admin.modules.devops.dto.IsvRoleDTO;
import com.wlb365.admin.modules.devops.dto.KeysRoleGroupDTO;
import com.wlb365.admin.modules.devops.entity.IsvRole;

import java.util.List;

/**
 * <p>
 * isv角色 Mapper 接口
 * </p>
 *
 * @author
 * @since 2020-04-09 16:08:39
 */
public interface IsvRoleMapper extends BaseMapper<IsvRole> {

    /**
     * 查询列表(分页)
     *
     * @param isvRole 查询参数
     * @param page    分页参数
     * @return list
     */
    List<IsvRole> selectIsvRoleList(IsvRole isvRole, IPage page);

    KeysRoleGroupDTO selectIsvRoleGroupByIsvId(Long isvId);

    void deleteIsvRoleGroupByIsvId(Long isvId);

    void insertIsvRoleBatch(List<IsvRoleDTO> list);


}
